Skip to content

docs(openapi): Document origin query parameter for last run endpoints#2697

Open
Pijukatel wants to merge 1 commit into
masterfrom
claude/origin-argument-docs-av60yj
Open

docs(openapi): Document origin query parameter for last run endpoints#2697
Pijukatel wants to merge 1 commit into
masterfrom
claude/origin-argument-docs-av60yj

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

The last run and last task run endpoints accept an origin query parameter to filter the last run by how it was started (e.g. origin=API), but it was missing from the OpenAPI spec. This adds it to those endpoints and all their convenience variants (default dataset/key-value store/request queue/log, plus abort/metamorph/reboot), reusing the existing RunOrigin schema for the enum.

Surfaced by apify/apify-client-js#952; API source: actors/last_run.ts and actor_tasks/last_run.ts.

The last run and last task run endpoints (and their convenience
storage/abort/metamorph/reboot variants) accept an `origin` query
parameter to filter the last run by how it was started. Add it to the
OpenAPI spec, reusing the existing RunOrigin schema for the enum.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RhBF2ZpG2pnuMiKjtBFCK2
@apify-service-account

apify-service-account commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

✅ Preview for this PR (commit 50d126b) is ready at https://pr-2697.preview.docs.apify.com (see action run).

@Pijukatel Pijukatel changed the title docs: document origin query parameter for last run endpoints docs(openapi): Document origin query parameter for last run endpoints Jun 26, 2026
@Pijukatel Pijukatel changed the title docs(openapi): Document origin query parameter for last run endpoints docs(openapi): Document origin query parameter for last run endpoints Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants